package com.bert.service.impl;

import com.bert.service.TestService;
import org.apache.dubbo.config.annotation.DubboService;

import java.security.SecureRandom;

@DubboService
//@DubboService(loadbalance = "roundrobin")
public class TestServiceImpl implements TestService {

    @Override
    public String getTest(String test) {
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
        return "provider two: " + test;
    }

}
